import service from '@/service/service'

/**
 * 当月数据
 * @returns {*}
 */
export function getReceiptInstockData () {
  return service.post('api/wms/receiptInstock/GetReceiptInstockData')
}

/**
 * 实时数据-入库单
 * @returns {*}
 */
export function getReceiptInstock (data) {
  return service.post('api/wms/receiptInstock/GetReceiptInstockRealtimeDataInstock',data)
}

/**
 * 实时数据-分步式调拨
 * @returns {*}
 */
export function getRealtimeDataStep (data) {
  return service.post('api/wms/receiptInstock/GetReceiptInstockRealtimeDataStep',data)
}

/**
 * 实时数据-采购订单主表
 * @returns {*}
 */
export function getPoHeaderList (data) {
  return service.post('api/wms/receiptInstock/GetPoHeaderList',data)
}
/**
 * 实时数据-收料单总览-主表
 * @returns {*}
 */
export function getReceiptHeaderList (data) {
  return service.post('api/wms/receiptInstock/GetReceiptHeaderList',data)
}
/**
 * 实时数据-采购订单明细-子表
 * @returns {*}
 */
export function getReceiptDetailList (data) {
  return service.post('api/wms/receiptInstock/GetReceiptDetailList',data)
}
/**
 * 条码入库信息
 * @returns {*}
 */
export function getBarcodeByReceiptOrPo (data) {
  return service.post('api/wms/receiptInstock/GetBarcodeByReceiptOrPo',data)
}

/**
 * 实时数据-采购订单明细
 * @returns {*}
 */
export function getPoDetailList (data) {
  return service.post('api/wms/receiptInstock/GetPoDetailList',data)
}

/**
 * 物料排名
 * @returns {*}
 */
export function getInstockMaterialRank (data) {
  return service.post('api/wms/receiptInstock/GetInstockMaterialRank',data)
}

/**
 * 物料排名
 * @returns {*}
 */
export function getInstockSum (data) {
  return service.post('api/wms/receiptInstock/GetInstockSum',data)
}
